package cn.com.miao.lynx.service.system.api;

import cn.com.miao.lynx.common.base.controller.BaseController;
import cn.com.miao.lynx.common.base.service.BaseService;
import cn.com.miao.lynx.service.system.entity.SysUser;
import cn.com.miao.lynx.service.system.service.SysUserService;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * SysUserApi
 *
 * @title: SysUserApi
 * @description:
 * @author: dengmiao
 * @create: 2019-12-26 17:47
 **/
@Data
@AllArgsConstructor
@RestController
@RequestMapping("user")
public class SysUserApi implements BaseController<SysUser, Long> {

    private final SysUserService sysUserService;

    @Override
    public BaseService<SysUser, Long> getService() {
        return this.getSysUserService();
    }
}
